﻿using Microsoft.EntityFrameworkCore;
using Abp.Zero.EntityFrameworkCore;
using ABCNet.Authorization.Roles;
using ABCNet.Authorization.Users;
using ABCNet.MultiTenancy;
using ABCNet;

namespace ABCNet.EntityFrameworkCore
{
    public class ABCNetDbContext : AbpZeroDbContext<Tenant, Role, User, ABCNetDbContext>
    {
        /* Define a DbSet for each entity of the application */
        
        public ABCNetDbContext(DbContextOptions<ABCNetDbContext> options)
            : base(options)
        {
        }


        public DbSet<NetPoints.NetPoint> NetPoints { get; set; }
        public DbSet<NetPointFinancialLists.NetPointFinancialList> NetPointFinancialLists { get; set; }
        public DbSet<UserFinancialLists.UserFinancialList> UserFinancialLists { get; set; }
        public DbSet<PlatformFinancialLists.PlatformFinancialList> PlatformFinancialLists { get; set; }
        public DbSet<PlatformInfos.PlatformInfo> PlatformInfos { get; set; }
        public DbSet<Notices.Notice> Notices { get; set; }
        public DbSet<Products.Product> Products { get; set; }
        public DbSet<Orders.Order> Orders { get; set; }
        public DbSet<WithdrawCashs.WithdrawCash> WithdrawCashs { get; set; }
    }
}
